package design_6_adapter.demo1.controller;

import design_6_adapter.demo1.config.MultiActionController;

/**
 * 继承了  MultiActionController 的类 SimpleControllerHandlerAdapter 适配器处理
 */
public class TestActionController extends MultiActionController {

	/**
	 * 模拟Id 查询
	 */
	public String findId() {
		return "{\n" +
				"\"id\":\"1\",\n" +
				"\"name\":\"TestAction 测试\",\n" +
				"\"age\":\"22\"\n" +
				"}";
	}

}
